Cargo Stuff form

Operations Cargo Cargo Lots Cargo Lots view Actions Stuff Cargo Stuff form

From the Actions menu in the following Inspectors:

Cargo Lots view Cargo Lot Inspector

Bills of Lading view Bill of Lading Inspector Items tab Bill of Lading Item form Cargo Lots tab

Units view Unit Inspector Cargo Lots tab

Vessel Visits view Vessel Visit Inspector Cargo Lots tab

Train Visits view Train Inspector Cargo on Board tab

Railcar Visits Railcar Visits view Railcar Visit Inspector Cargo on Board tab

In N4, you can stuff cargo units in the yard into a unit in the yard. You can use the Cargo Stuff form to stuff the selected cargo units into the specified container. You can stuff multiple cargo items from different yard locations or from a truck into a container. The cargo lots may be associated with the same or different bills of lading.

Prerequisites for stuffing a cargo lot into an empty storage unit.

To stuff a cargo unit into an empty storage unit:

  1. In the Cargo Lots view (on page 1), select the cargo lot(s) that you want to stuff into a unit.

The cargo lot must have a cargo unit associated with it and the position of the cargo unit can be in the yard or truck. You cannot select a default cargo lot to perform the stuff action.

  1. Select Actions Stuff.

  2. In the Cargo Stuff form:

  1. Optionally, in the Service Order Nbr field, enter the ID of the service order for the stuff action.

The specified service order must exist in N4. To add a new service order, use the Actions Create Service Order (on page 1) option.

  1. In the Container field, enter the Unit Nbr of the unit into which you want to stuff the selected cargo lot(s).

If the commodity associated with the cargo lot has temperature requirements, you can stuff the selected cargo lot only into a reefer container.

  1. In the Quantity field, edit the prompted value if you do not want to stuff the entire cargo lot quantity in the unit.

If you select multiple cargo lots in the list view, N4 does not display the Quantity field. The entire quantity of all the selected cargo lots is stuffed into the selected container.

  1. Select the Direct Stuff check box to perform a stuff operation directly from a truck into a container.

  1. Select the Truck Complete check box to move the truck to the next stage after the stuff operation.

  2. Click Save.

When you successfully stuff the entire quantity of a cargo lot into the specified container, N4:

You can use the Unit Inspector History, Events tab or the Cargo Lot Inspector (on page 1) History, Events tab to view the details of the event.

If you select multiple cargo lots in the Cargo Lots view and the cargo lots are associated with multiple bills of lading, the Freight Kind of the new unit is LCL. If the selected cargo lots are associated with the same bill of lading, the Freight Kind of the new unit is FCL.

For the Cargo Stuff action, N4 records a CARGO_STUFF event each time you stuff a partial or full quantity to a unit. However, it records the UNIT_STUFF action only once when you stuff the first cargo lot into the unit.

 

Holds/Permissions for Strip and Stuff actions

N4 provides a Groovy hook with the Strip and Stuff actions for a cargo lot to enable you to control which holds/permission are transferred as part of the operation.

The following code sample represents the Groovy plug-in that you can edit to specify which holds/permission are transferred as part of the Strip and Stuff actions. This example transfers the CARGO_UNLOAD hold as part of the Strip or Stuff action:

import java.util.ArrayList;

import java.util.Collection;

import java.util.List;

import com.navis.apex.business.model.GroovyInjectionBase;

import com.navis.cargo.business.model.CargoLot;

import com.navis.inventory.business.units.Unit;

import com.navis.services.business.rules.Flag;

import com.navis.services.business.rules.FlagType;

 

class CustomHoldTypeListForTransferGroovyImpl extends GroovyInjectionBase {

    public List<String> getHoldTypeList(Unit inFromUnit, Unit inToUnit) {

        List<String> returnHoldTypeIds = new ArrayList();

        log("From Unit:"+inFromUnit.getUnitId()) ;

        log("To Unit:"+inToUnit.getUnitId()) ;

        Collection flags = FlagType.findActiveFlagsOnEntity(inFromUnit);

        for (Object flagObj : flags) {

            Flag flag = (Flag) flagObj;

            //You can add the list of all holds/permissions that you want to

            //move as part of the Strip and Stuff actions.

            if (flag.getFlagFlagType().getId().equals("CARGO_UNLOAD")){

                returnHoldTypeIds.add(flag.getFlagFlagType().getId()) ;

            }

        }

        return returnHoldTypeIds;

    }

}

If the selected cargo lot has other holds/permissions associated with it, N4 does not transfer those as part of the Strip and Stuff actions. It transfers only the holds/permissions specified in the Groovy plug-in.

The Groovy class name and method signature must match exactly with that specified in the example above.

You can use this Groovy plug-in to transfer different holds for the Strip and the Stuff actions, if required. N4 uses the inFromUnit and inToUnit variables to determine the Freight Kind of the units. If the inFromUnit represents a containerized unit and inToUnit represents a break-bulk unit, then it is the Strip action. If the condition is reversed, it is the Stuff action.